//引入请求
import http from "../utils/http2.js";


//查询供应商询价单列表
export function querySupplierInquiryList(data){
  return http.put("/api/supplierInquiry/list", data);
}

//根据id查询供应商询价单和明细
export function querySupplierInquiryById(id) {
  return http.get("/api/supplierInquiry/"+ id, { });
}


//询价单保存
export function saveSupplierInquiry(data){
  return http.post("/api/supplierInquiry", data);
}

//询价单更新
export function updateSupplierInquiry(data){
  return http.put("/api/supplierInquiry", data);
}
